package com.learn.isp.bad.service.impl;

import com.learn.isp.bad.service.IPetLife;

public class BirdLife implements IPetLife {

    @Override
    public void eat() {
        System.out.println("鸟能吃");
    }

    @Override
    public void fly() {
        System.out.println("鸟能飞");
    }

    @Override
    public void swim() {
        // bad  鸟不能游泳，接口方法多余了
    }
}
